import http from '../utils/request';

const { post } = http('admin');

// 获取用户列表
export const getList = params => post('/web/users/list', params);
// 新增用户
export const addUser = params => post('/web/users/add', params);
// 编辑用户
export const editUser = params => post('/web/users/edit', params);
// 删除用户
export const delUser = params => post('/web/users/del', params);
// 修改密码
export const updatePassword = params => post('/web/users/updatePassword', params);
// 修改密码
export const getCaptcha = params => post('/web/users/getCaptcha', params);



